package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.apache.poi.hpsf.Decimal;

/**
 * 产品注册对象 dzbq_deviceregister
 * 
 * @author tianxingxia
 * @date 2025-02-07
 */
public class SmartDistribution extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 客户代码 */
    @Excel(name = "客户代码")
    private String  dm;

    /** 规格1代码 */
    @Excel(name = "颜色代码")
    private String gg1dm;

    /** 规格2代码 */
    @Excel(name = "尺码代码")
    private String gg2dm;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String ggmc;

    @Excel(name = "零售数量")
    private Integer sum_sl;

    @Excel(name = "零售金额")
    private Decimal sum_jsje;

    @Excel(name = "零售标准价")
    private Decimal sum_bzje;

//    /** 设备ID */
//    @Excel(name = "设备ID")
//    private Long deviceId;
//
//    /** 产品类型 */
//    @Excel(name = "产品类型")
//    private Long typeId;
//
//    /** CpuID */
//    @Excel(name = "CpuID")
//    private Integer cpuId;
//
//    /** 电量 */
//    @Excel(name = "电量")
//    private Integer power;
//
//    /** 信号值 */
//    @Excel(name = "信号值")
//    private Integer singal;
//
//    /** 流量 */
//    @Excel(name = "流量")
//    private Integer flow;
//
//    /** 充电次数 */
//    @Excel(name = "充电次数")
//    private Integer chargeTimes;
//
//    /** 是否删除 */
//    @Excel(name = "是否删除")
//    private Integer isDeleted;
//
//    /** 更新日期 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
//    private Date updateDate;
//
//    /** 创建日期 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
//    private Date dateCreated;

    public String getDM()
    {
        return dm;
    }
    public String getGG1DM()
    {
        return gg1dm;
    }
    public String getGG2DM()
    {
        return gg2dm;
    }
    public String getGGMC()
    {
        return ggmc;
    }
    public Integer getSumSL()
    {
        return sum_sl;
    }
    public Decimal getSumJSJE()
    {
        return sum_jsje;
    }
    public Decimal getSumBZJE()
    {
        return sum_bzje;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dm", getDM())
                .append("gg1dm", getGG1DM())
                .append("gg2dm", getGG2DM())
                .append("ggmc", getGGMC())
                .append("sum_sl", getSumSL())
                .append("sum_jsje", getSumJSJE())
                .append("sum_bzje", getSumBZJE())
            .toString();
    }
}
